package corbaServer;

/* OBJECT NEEDED TO HOLD DETAILS THAT COME FROM THE DATABASE
 * BUT NEED TO BE TRANSMITED TO THE CORBA CLIENT INSIDE A STRUCT
 */
public class EventDO {
	private String name;
	private String date;
	private String description;
	private int places;

	public EventDO(String n, String d, String des, int p) {
		name = n;
		date = d;
		description = des;
		places = p;
	}

	public String getName() {
		return name;
	}
	
	public String getDescription() {
		return description;
	}

	public String getDate() {
		return date;
	}

	public int getPlaces() {
		return places;
	}
}
